<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width,initical-scale=1.0,user-scalable=no" />
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <link rel="stylesheet" href="css/products.css" th:href="@{css/products.css}" />
    <title>Product</title>
</head>
<body>
    <div class="'workingArea">
        <table>
            <thead>
                <tr><th>ID</th><th>产品名称C</th><th>价格</th></tr>
            </thead>
            <tbody>
                <tr th:each="p:${products}">
                    <td th:text="${p.id}"></td>
                    <td th:text="${p.name}"></td>
                    <td th:text="${p.price}"></td>
                </tr>
            </tbody>
        </table>
    </div>
</body>
</html>